﻿package frEngine.shader.filters.vertexFilters
{
    import frEngine.shader.*;
    import frEngine.shader.filters.*;

    public class HerizonKilFilter extends FilterBase
    {

        public function HerizonKilFilter()
        {
            super(FilterType.herizionKil, FilterPriority.HerizionKillFilter);
            return;
        }// end function

        override public function setRegisterParams(param1:Program3dRegisterInstance) : void
        {
            return;
        }// end function

        override public function get programeId() : String
        {
            return "HerizonKil";
        }// end function

        override public function createVertexCode(param1:Program3dRegisterInstance, param2:int) : String
        {
            var _loc_3:Array = [];
            _loc_3.push(new ToBuilderInfo("vf0", FilterName.V_GloblePos, false, 1));
            return param1.toBuild("", _loc_3);
        }// end function

        override public function createFragmentUvCoord(param1:Program3dRegisterInstance) : String
        {
            var _loc_2:* = new Array();
            var _loc_3:String = "";
            _loc_3 = _loc_3 + "sub\t\t\tft0.x\t   {V_GloblePos}.y\t{fcConst1}.x\t\n";
            _loc_3 = _loc_3 + "kil\t\t\tft0.x\t   \t\t\t\t\t\t\t\t\t\t\n";
            _loc_3 = param1.toBuild(_loc_3, _loc_2);
            return _loc_3;
        }// end function

    }
}
